package com.geostar.constructionland.attachment.entity.attachment;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@TableName(value = "oa_fjmlsl")
@ApiModel(description = "附件目录实例表")
@Data
public class AttachmentDirectoryInstEntity {
    @ApiModelProperty("附件目录实例ID（主键）")
    @TableId("fjmlslid")
    private String id;
    @ApiModelProperty("附件目录ID")
    @TableField("fjmlid")
    private String attachmentDirId;
    @ApiModelProperty("附件目录名称")
    @TableField("fjmlmc")
    private String attachmentDirName;
    @ApiModelProperty("父目录ID")
    @TableField("fmlid")
    private String parentAttachmentDirId;
    @ApiModelProperty("目录层级")
    @TableField("mlcj")
    private String dirLevel;
    @ApiModelProperty("序号")
    @TableField("xh")
    private Integer sortNo;
    @ApiModelProperty("业务类别编码")
    @TableField("ywlbbm")
    private String businessCode;
    @ApiModelProperty("是否必选")
    @TableField("sfbx")
    private Integer isRequired;
    @ApiModelProperty("租户编码")
    @TableField("zhbm")
    private String tenantCode;
    @ApiModelProperty("机构代码")
    @TableField("jgdm")
    private String orgCode;
    @ApiModelProperty("年份")
    @TableField("nf")
    private Integer year;
    @ApiModelProperty("业务ID")
    @TableField("ywid")
    private String businessId;
    @ApiModelProperty("材料来源")
    @TableField("clly")
    private String materialSource;
    @ApiModelProperty("是否要求原件")
    @TableField("sfyqyj")
    private String isRequiredOriginal;
    @ApiModelProperty("打印表单URL")
    @TableField("dybdurl")
    private String printFormUrl;
    @ApiModelProperty("是否实物")
    @TableField("sfsw")
    private String isEntity;
    @ApiModelProperty("创建人id")
    @TableField("cjrid")
    private String createUserId;
    @ApiModelProperty("创建人名称")
    @TableField("cjrmc")
    private String createUserName;
    @ApiModelProperty("创建时间")
    @TableField("cjsj")
    private Timestamp createTime;
    @ApiModelProperty("是否共享")
    @TableField("isshare")
    private String isShare;
    @ApiModelProperty("筛选标签")
    @TableField("sxbq")
    private String filterTags;
    @ApiModelProperty("附件目录能上传附件的最大数量")
    @TableField("zdsl")
    private Integer maxNum;
}
